Hummingbird\Core\Modules\Cloudflare A

Total Complexity 69
Dependencies 3
Dependents 1
Total lines 580
Lines of code 322
Logical lines of code 166
Comment lines 166
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
has_cloudflare()
A
46 14 35
add_caching_page_rule()
S
52 6 25
get_filetypes_expirations()
S
49 5 33
get_zones_list()
S
52 5 25
set_caching_rules()
S
64 4 10
set_caching_expiration()
S
58 3 14
get_caching_expiration()
S
60 3 14
delete_caching_page_rule()
S
61 3 12
module_status()
S
68 3 7
get_page_rules_list()
S
63 2 11
convert_frequency()
S
52 1 25
get_frequencies()
S
52 1 24
update_caching_page_rule()
S
69 2 7
clear_cache()
S
66 2 8
clear_caching_page_rules()
S
71 2 6
unregister_caching_page_rule()
S
68 2 7
get_registered_caching_page_rule_id()
S
74 2 4
disconnect()
S
62 1 12
page_rule_targets()
S
64 1 11
init()
S
79 1 3
get_registered_caching_page_rules()
S
76 1 4
page_rule_actions()
S
68 1 8
get_plan()
S
76 1 4
is_zone_selected()
S
75 1 4
is_connected()
S
76 1 4
register_caching_page_rule()
S
73 1 5